fd53afc99cd8fe733398103f83e7dd4e45733d70,app/src/main/java/com/lauszus/launchpadflightcontrollerandroid/app/GraphFragment.java,GraphFragment,onCreateView,#LayoutInflater#ViewGroup#Bundle#,64

Before Change


            if (mCheckBox2.isChecked())
                graphView.addSeries(gyroSeries);
        } else
            graphView.addSeries(gyroSeries);
        if (mCheckBox3 != null) {
            if (mCheckBox3.isChecked())
                graphView.addSeries(kalmanSeries);
        } else
            graphView.addSeries(kalmanSeries);

After Change


        graphView = new LineGraphView(getActivity(), "");
        if (mCheckBox1 != null) {
            if (mCheckBox1.isChecked())
                graphView.addSeries(rollSeries);
        } else
            graphView.addSeries(rollSeries);
        if (mCheckBox2 != null) {
            if (mCheckBox2.isChecked())
                graphView.addSeries(pitchSeries);